import {Meta,Hash} from './db/mdbx'
import {realpath} from './misc/root'

export default (hash, offset)=>
  key = await Hash.get hash

  if not key
    return

  path = realpath(key)
  console.log {
    offset
    path
  }
